package com.yic.module.device.convert.deviceCategory;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.device.controller.admin.deviceCategory.vo.*;
import com.yic.module.device.dal.dataobject.deviceCategory.DeviceCategoryDO;

/**
 * 设备分类 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface DeviceCategoryConvert {

    DeviceCategoryConvert INSTANCE = Mappers.getMapper(DeviceCategoryConvert.class);

    DeviceCategoryDO convert(DeviceCategoryCreateReqVO bean);

    DeviceCategoryDO convert(DeviceCategoryUpdateReqVO bean);

    DeviceCategoryRespVO convert(DeviceCategoryDO bean);

    List<DeviceCategoryRespVO> convertList(List<DeviceCategoryDO> list);

    PageResult<DeviceCategoryRespVO> convertPage(PageResult<DeviceCategoryDO> page);

    List<DeviceCategoryExcelVO> convertList02(List<DeviceCategoryDO> list);

    List<DeviceCategorySimpleRespVO> convertList03(List<DeviceCategoryDO> list);
}
